package model;

import lombok.Data;

import java.util.List;

/**
*
*组织架构
*
*/
@Data
public class Department{

    private String id;

    private String name;

    private String schoolId;

    private String parentId;

    private String path;
    //分页排序等
    //额外字段
    private List<Department> children;
    //类型，0为组织架构，1为成员
    private int type;
    //头像路径
    private String imgUrl;
    //成员的手机号
    private String tel;
}
